package com.lancoo.znbkxx.beans;

/**
 * Create by TangJun on 2019/2/16
 */
public class RequestLogBean {
    /**
     * 请求发起时间
     */
    public String Time;

    /**
     * 请求地址
     */
    public String Url;

    /**
     *
     */
    public String RequestMethod;

    /**
     * 请求参数
     */
    public String Params;

    /**
     * 返回信息
     */
    public String Response;

    /**
     * 请求状态码
     */
    public int ResponseCode = -1;

    /**
     * 请求是否成功
     */
    public Boolean IsSuccess = false;

    /**
     * 额外信息
     */
    public String Tag;



    /**
     * 1为请求，2为返回结果，3为请求与返回结果一起
     */
    public int Mode = 3;

    @Override
    public String toString() {
        return "RequestLogBean{" +
                "Time='" + Time + '\'' +
                ", Url='" + Url + '\'' +
                ", RequestMethod='" + RequestMethod + '\'' +
                ", Params='" + Params + '\'' +
                ", Response='" + Response + '\'' +
                ", ResponseCode=" + ResponseCode +
                ", IsSuccess=" + IsSuccess +
                ", Tag='" + Tag + '\'' +
                ", Mode=" + Mode +
                '}';
    }
}
